package com.rc.saas.mini.service.invoice;

import com.github.pagehelper.PageInfo;
import com.rc.saas.mini.common.base.BaseService;
import com.rc.saas.mini.mapper.invoice.InvoiceAddressMapper;
import com.rc.saas.mini.model.invoice.InvoiceAddress;
import com.rc.saas.mini.model.invoice.InvoiceAddressExample;

import java.util.List;

/**
 * @author wangzhengwei
 * @create 2021/5/12
 */
public interface InvoiceAddressService extends BaseService<Long, InvoiceAddress, InvoiceAddressExample, InvoiceAddressMapper> {
    PageInfo<InvoiceAddress> listInvoiceAddressByMemberId(Long memberId, Integer pageNo, Integer pageSize);

    List<InvoiceAddress> listByCondition(InvoiceAddress invoiceAddress);

    void saveOrUpdateInvoiceAddress(InvoiceAddress invoiceAddress);
}
